The assume_valid_handler
is a Undefined-Behavior invoking error handler. If an error is encountered, the encoding can legally ignore and never, ever call the error handler at all. This can invoke on malformed input.
Warning
Implementers of encodings within templates can check for a potentially ignorable error handler like this one using ztd::text::is_ignorable_error_handler_v </api/is_ignorable_error_handler>
.
ztd::text::assume_valid_handler
ztd::text::assume_valid_handler_t